package org.my;

import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

@Service
public class MyService {
    static {
        System.out.println("MyService init");
    }

    @Resource
    private JdbcTemplate jdbcTemplate;

    public void test_this_private(Object vo) {
        do_private(vo );
    }

    @Transactional
    private void do_private(Object vo) {
        System.out.println("Hello3 " + vo);
        System.out.println(11);

    }
    @Transactional
    public final void test_final(Object vo) {
        System.out.println("Hello3 " + vo);
        System.out.println(11);

    }
   
}
